<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> 
<head>
<%@ include file="../../include/easyui.jsp" %> 
<%@ include file="../../include/pForm.jsp" %>
<script src="/plug-in/jquery-easyui-1.5.1/plugins/jquery.choosebox.js"></script>
<title>工程变更新增</title>
</head>
<body>
	<div class="easyui-panel" data-options="fit:true,border:false" style="padding:10px;">
		<!-- 替换自动form表单 -->
		<form id="easyuiForm" method="post" action="/console/com.fs.jzzn.pojo.Alteration/newAdd"   >
		 <!--类名属性及默认主键id-->
		 <input type="hidden" name="className" value="com.fs.jzzn.pojo.Alteration" />
		 <input type="hidden" name="createrId" value="${SESSION_USER.user.id}" />
		 <input type="hidden" name="id" value="" />
		 
		 <div style="margin-bottom:20px">
		  <input class="easyui-choosebox easyui-validatebox" name="pNo" style="width:240px;"   data-options="label:'路段编号:',labelWidth:75,boxWidth:900,boxHeight:400,boxTitle:'请选择路段编号',textField:'pNo',valueField:'pNo',modleName:'project',required:true,callback:fn.selectDepartmant "/>
		  <input class="easyui-datebox easyui-validatebox" name="alerDate" style="width:240px;" data-options="label:'变更日期:',labelWidth:75" />
		 </div>
		  <div style="margin-bottom:20px">
		  	<select class="easyui-combobox" name="alerType" style="width:240px;" data-options="label:'变更类别:',labelWidth:75" 
				url="/console/combobox?valueField=dicName&textField=dicName&modleName=dictionary&pCode=B3&pCode_searchType=eq" >
		 	</select>
		  	<select class="easyui-combobox" name="alerKind" style="width:240px;" data-options="label:'变更种类:',labelWidth:75" 
				url="/console/combobox?valueField=dicName&textField=dicName&modleName=dictionary&pCode=B4&pCode_searchType=eq" >
		 	</select>
		 </div>
		  <div style="margin-bottom:20px">
		  <input class="easyui-numberbox easyui-validatebox" name="artisanBefore" 
		  		style="width:240px;" data-options="label:'变更前技工:',labelWidth:75,precision:2" />
		  <input class="easyui-numberbox easyui-validatebox" name="artisanAfter" style="width:240px;"
		  		 data-options="label:'变更后技工:',labelWidth:75 ,precision:2" />
		 </div>
		  <div style="margin-bottom:20px">
		  <input class="easyui-numberbox easyui-validatebox" name="generalWorkerBefore" style="width:240px;" data-options="label:'变更前普工:',labelWidth:75,precision:2" />
		  <input class="easyui-numberbox easyui-validatebox" name="generalWorkerAfter" style="width:240px;" data-options="label:'变更后普工:' ,labelWidth:75,precision:2" />
		 </div>
		  <div style="margin-bottom:10px">
		  	<select class="easyui-combobox" id="department" name="department" style="width:240px;" data-options="label:'关联项目部:',loadFilter:fn.departmentFilter " 
				url="/console/combobox?valueField=dicName&textField=dicName&modleName=dictionary&pCode=A5&pCode_searchType=eq" >
		 	</select>
		  <input class="easyui-textbox easyui-validatebox" name="remark" multiline="true" style="width:240px;height:40px;" data-options="label:'变更备注:',labelWidth:75,required:false,validType:'length[0,500]'" />
		 </div>
		</form>
	</div>
</body>
</html>